//
//  logdef.h
//  tcpoctest
//
//  Created by gump on 5/8/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#ifndef tcpoctest_logdef_h
#define tcpoctest_logdef_h

#define DEBUG_EachOther 1
#if DEBUG_EachOther
#define EACHOTHER_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define EACHOTHER_LOG(log, ...)
#endif

#define DEBUG_AudioSession 0
#if DEBUG_AudioSession
#define AS_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define AS_LOG(log, ...) 
#endif

#define DEBUG_Net 0
#if DEBUG_Net
#define N_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define N_LOG(log, ...)
#endif

#define DEBUG_UID 0
#if DEBUG_UID
#define UID_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define UID_LOG(log, ...)
#endif

#define DEBUG_MAP 0
#if DEBUG_MAP
#define MAP_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define MAP_LOG(log, ...)
#endif

#define DEBUG_NETSEND 0
#if DEBUG_NETSEND
#define NS_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define NS_LOG(log, ...)
#endif

#define DEBUG_NETRECE 0
#if DEBUG_NETRECE
#define NR_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define NR_LOG(log, ...)
#endif

#define DEBUG_ViewManager 0
#if DEBUG_ViewManager
#define VM_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define VM_LOG(log, ...)
#endif

#define DEBUG_NetCheck 0
#if DEBUG_NetCheck
#define NC_LOG(log, ...) NSLog(log, ##__VA_ARGS__)
#else
#define NC_LOG(log, ...)
#endif

#endif
